package com.authine.cloudpivot.web.api.secondopen.domain;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

//新闻实体

@Component
public class NewsModel implements Serializable {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("创建人")
    private String creater;

    @ApiModelProperty("作者")
    private String author;

    @ApiModelProperty("新闻标题")
    private String title;

    @ApiModelProperty("状态")
    private String newsStatus;

    @ApiModelProperty("是否全集团可见")
    private Boolean IfShow;
    @ApiModelProperty("石药文库左侧分类")
    private String leftType;
    @ApiModelProperty("新闻类型")
    private String newsType;

    @ApiModelProperty("权限")
    private String permission;

    @ApiModelProperty("消息内容")
    private String content;

    @ApiModelProperty("文件描述")
    private String LongText1591062723759;

    @ApiModelProperty("发布时间")
    private Date publishTime;

    public String getLeftType() {
        return leftType;
    }

    public void setLeftType(String leftType) {
        this.leftType = leftType;
    }

    @ApiModelProperty("附件列表")
    private List<AttachModel> attachs;

    @ApiModelProperty("评论列表")
    private List<RemarkModel> remarks;

    @ApiModelProperty("是否置顶")
    private Boolean top;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getNewsStatus() {
        return newsStatus;
    }

    public void setNewsStatus(String newsStatus) {
        this.newsStatus = newsStatus;
    }

    public Boolean getIfShow() {
        return IfShow;
    }

    public void setIfShow(Boolean ifShow) {
        this.IfShow = ifShow;
    }

    public String getNewsType() {
        return newsType;
    }

    public void setNewsType(String newsType) {
        this.newsType = newsType;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public List<AttachModel> getAttachs() {
        return attachs;
    }

    public void setAttachs(List<AttachModel> attachs) {
        this.attachs = attachs;
    }

    public List<RemarkModel> getRemarks() {
        return remarks;
    }

    public void setRemarks(List<RemarkModel> remarks) {
        this.remarks = remarks;
    }

    public Boolean getTop() {
        return top;
    }

    public void setTop(Boolean top) {
        this.top = top;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getLongText1591062723759() {
        return LongText1591062723759;
    }

    public void setLongText1591062723759(String longText1591062723759) {
        LongText1591062723759 = longText1591062723759;
    }
}
